package li.com.springaidemo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import li.com.springaidemo.pojo.History;
import org.springframework.ai.chat.messages.Message;
import org.springframework.ai.chat.model.ChatResponse;

import java.util.List;

public interface HistoryService extends IService<History> {
    List<Message> getMessages(String persona, String message, List<Message> messages);

    List<Message> responseMessages(String persona, ChatResponse chatResponse, List<Message> messages);
}
